package pe.com.bbva.ge.domain.sequence;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import pe.com.bbva.ge.domain.base.BaseDomain;

@Entity
@Table(name="SEQ_ENTIDAD")
public class Entidad extends BaseDomain {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6021890514826946313L;

	@Id
	private String entidad;

	@Column(name="ULTIMO_ID")
	private Long ultimoId;

	public String getEntidad() {
		return this.entidad;
	}

	public void setEntidad(String entidad) {
		this.entidad = entidad;
	}

	public Long getUltimoId() {
		return ultimoId;
	}

	public void setUltimoId(Long ultimoId) {
		this.ultimoId = ultimoId;
	}
	
}